package com.zhang.demo.injector.module

import android.app.Activity
import com.zhang.demo.injector.PerActivity
import dagger.Module
import dagger.Provides

/**
 * Created by wuchaowen on 2016/5/19.
 */
@Module
class ActivityModule(private val mActivity: Activity) {
    @Provides
    @PerActivity
    fun provideActivity(): Activity {
        return mActivity
    }

}